package com.bank.accountinfo.account.service;


import com.bank.accountinfo.account.entity.Account;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface AccountService {
    Account getAccountById(Long id);

    boolean addAccount(Account account);

    boolean updateAccount(Account account);

    boolean deleteAccountById(Long id);

    List<Account> getAllAccounts();

    boolean batchInsert(List<Account> accountList);

    Page<Account> getAccountPage(Page<Account> accountPage);

    List<List<Object>> getTransactionSummary();

    List<List<Object>> getBalanceListByAccountId(String accountId);
    // 其他业务方法...
}
